
package com.code.view;

/**
 * 代码生成器常量类
 *
 * @author 朱国军
 * @version 2015年2月28日 朱国军
 */
public class ViewConstant {
    
    /** 数据库用户名 */
    public static final String FIELD_NAME_USERNAME = "userName";
    
    /** 数据库密码 */
    public static final String FIELD_NAME_PASSWORD = "password";
    
    /** 数据库URL */
    public static final String FIELD_NAME_DBURL = "dbUrl";
    
    /** 数据库驱动 */
    public static final String FIELD_NAME_DBDRIVER = "dbDriver";
    
    /** 作者 */
    public static final String FIELD_NAME_AUTHOR = "author";
    
    /** 常用包路径 */
    public static final String FIELD_NAME_PACKAGEPATH = "packagePath";
    
    /** 代码输出目录 */
    public static final String FIELD_NAME_OUTPUTPATH = "outPutPath";
    
    /** 实体类后缀 */
    public static final String FIELD_NAME_ENTITY_SUFFIX = "entitySuffix";
    
    /** common包路径 */
    public static final String FIELD_NAME_COMMON_PACKAGE = "commonPackage";
    
    /** 数据库用户名_默认值：userName */
    public static final String DEFALUTE_VALUE_USERNAME = "root";
    
    /** 数据库密码_默认值：password */
    public static final String DEFALUTE_VALUE_PASSWORD = "admin";
    
    /**
     * 数据库URL_默认值：jdbc:log4jdbc:mysql://192.168.102.131:3308/sp2p_test?useUnicode=true&amp;characterEncoding=UTF-8
     */
    public static final String DEFALUTE_VALUE_DBURL = "jdbc:log4jdbc:mysql://192.168.102.131:3308/sp2p_test?useUnicode=true&amp;characterEncoding=UTF-8";
    
    /** 数据库驱动_默认值：net.sf.log4jdbc.DriverSpy */
    public static final String DEFALUTE_VALUE_DBDRIVER = "net.sf.log4jdbc.DriverSpy";
    
    /** 作者_默认值：王大锤 */
    public static final String DEFALUTE_VALUE_AUTHOR = "王锤";
    
    /** 常用包路径_默认值：com.hszc */
    public static final String DEFALUTE_VALUE_PACKAGEPATH = "com.hszc";
    
    /** 实体类后缀_默认值：Entity */
    public static final String DEFALUTE_VALUE_ENTITY_SUFFIX = "Entity";
    
    /** common包路径_默认值：com.hszc.common */
    public static final String DEFALUTE_VALUE_COMMON_PACKAGE = "com.hszc.common";
    
    /** 数据库驱动列表 */
    public static final String[] DB_DRIVERS = { "net.sf.log4jdbc.DriverSpy", "oracle.jdbc.driver.OracleDriver", "com.mysql.jdbc.Driver",
        "com.microsoft.sqlserver.jdbc.SQLServerDriver" };
        
    /** 数据库驱动-orale */
    public static final String DB_DRIVER_ORACLE = "oracle.jdbc.driver.OracleDriver";
    
    /** 数据库表表格-checkBox序号：0 */
    public static final int CHECK_INDEX = 0;
    
    /** 数据库表表格-表名序号：1 */
    public static final int TABLE_NAME_INDEX = 1;
    
    /** 数据库表表格-包路径序号：2 */
    public static final int CLASS_PATH_INDEX = 2;
    
    /** 数据库表表格-结果序号：3 */
    public static final int RESULT_INDEX = 3;
    
    /** 持久层框架：mybatis */
    public static final String ORM_TYPE_MYBATIS = "mybatis";
    
    /** 持久层框架：ibatis */
    public static final String ORM_TYPE_IBATIS = "ibatis";
    
}
